package com.zyy.service.impl;

import com.zyy.mapper.UserMapper;
import com.zyy.pojo.User;
import com.zyy.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Description: 类描述
 * @Author: zyy
 * @Date: 2022/10/21 11:28
 */
@Service
public class UserServiceImpl implements UserService {
    @Autowired
    private UserMapper userMapper;

    @Override
    public User getUserByName(String name) {
        return userMapper.getUserByName(name);
    }
}
